package com.ms.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "用户登录返回的数据")
public class UserLoginVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(name = "主键id")
    private Integer id;
    @Schema(name = "账号")
    private String username;
    @Schema(name = "昵称")
    private String nickname;
    @Schema(name = "密码")
    private String password;
    @Schema(name = "用户权限")
    private String role;
    @Schema(name = "token")
    private String token;
}
